//var NewApiRootUrl = 'http://localhost:8090/rent-api/';
var NewApiRootUrl = 'https://zll.9580buy.com/rent-api/';
module.exports = {
  curHost: NewApiRootUrl,
  curHostRes: NewApiRootUrl, //远程服务器静态资源
  CheckLogin: NewApiRootUrl + 'auth/checkLogin', //检测是否有登录过
  GetHouseResQr: NewApiRootUrl + 'auth/shareHouseResQrCode', //获取分享房源二维码
  SavePoi: NewApiRootUrl + 'tenant/located', //提交当前租客的定位信息
  FaceAuth: NewApiRootUrl + 'tenant/verified', //租客人脸认证
  AuthCheckin: NewApiRootUrl + 'tenant/authCheckin', //租客认证入住
  QueryTenant: NewApiRootUrl + 'tenant/info', //查询租客认证信息
  ExitRoom: NewApiRootUrl + 'tenant/withdrawal', //租客申请退房
  GetInsurance: NewApiRootUrl + 'tenant/getTerms', //获取保险说明

  RemoveImgOss: NewApiRootUrl + 'upload/remove/img/oss', //删除云文件图片
  UploadImgOss: NewApiRootUrl + 'upload/img/oss', //图片文件上传
  IndexUrl: NewApiRootUrl + 'house/UHName', //获取首页数据
  SendWXTpl: NewApiRootUrl + 'auth/sendTpl', //发送模板
  StorageUpload: NewApiRootUrl + 'upload/send', //文件上传
  RemoveUpload: NewApiRootUrl + 'upload/remove', //文件删除
  GetBaseInfoLs: NewApiRootUrl + 'auth/getBaseInfoLs', //基础数据列表
  LoginByPhone: NewApiRootUrl + 'auth/login_by_phone', //微信授权手机号登录
  LoginByAccPhone: NewApiRootUrl + 'auth/login_by_accPhone', //已有手机号登录
  SaveBaseInfo: NewApiRootUrl + 'auth/save_base_info', //微信授权用户基本信息
  GetCaptcha: NewApiRootUrl + 'auth/captcha.jpg', //获取验证码
  VerifyCode: NewApiRootUrl + 'auth/verifyCode', //图形验证码验证
  SendVerifiCode: NewApiRootUrl + 'auth/sendVerifiCode', //根据已存在的手机号发送短信验证码
  sendVerifiCodeForReg: NewApiRootUrl + 'auth/sendVerifiCodeForReg', //绑定时发送短信验证码
  BindPhone: NewApiRootUrl + 'auth/bindPhone', //绑定手机号
  OpenPush: NewApiRootUrl + 'auth/open_push', //开通公众号推送
  AsyncOpenPush: NewApiRootUrl + 'auth/asyncOpenPush', //异步通公众号推送
  CheckOpenPush: NewApiRootUrl + 'auth/checkOpenPush', //检测是否开通公众号推送

  OpenControlDoor: NewApiRootUrl + 'auth/openControlDoor', //门禁开锁
  GetControlDoorQR: NewApiRootUrl + 'Svr.asmx/scanCode', //获取开门二维码
  DestroyControlDoorQR: NewApiRootUrl + 'Svr.asmx/destroy', //销毁开门二维码

  ToDoNotices: NewApiRootUrl + 'news/list', //通知页面数据加载
  GetRentDetail: NewApiRootUrl + 'bill/details', //通知页面房租明细数据
  GetPayRent: NewApiRootUrl + 'bill/getPayRent', //交租页面详情
  PayRent: NewApiRootUrl + 'order/ulinePay', //交租
  SearchPayRlt: NewApiRootUrl + 'bill/queryRentStatus', //账单支付结果查询
  BillLs: NewApiRootUrl + 'bill/list', //账单列表

  CommitRepair: NewApiRootUrl + 'repair/saveOrUpdate', //报修提交
  GetRepairs: NewApiRootUrl + 'repair/list', //获取报修记录列表

  GetAllUnitInfo: NewApiRootUrl + 'house/ufh', //获取某个房东的所有单元信息
  CheckBindQr: NewApiRootUrl + 'house/checkQr', //检测房东二维码序列号绑定
  QrBind: NewApiRootUrl + 'house/bindingQr', //绑定二维码序列号
  QrSendVerifiCode: NewApiRootUrl + 'house/sendVerifiCode', //房东绑定二维码序列号发送短信验证码
  ShareHouseRes: NewApiRootUrl + 'house/shareRes', //分享房源页面数据
  LoadHouseRes: NewApiRootUrl + 'house/houseRes', //房源页面数据
  GetHouseRes: NewApiRootUrl + 'house/list', //房源列表查询
  QueryRoom: NewApiRootUrl + 'house/queryHouse', //查询单个房间
  ShareFromLandlord: NewApiRootUrl + 'house/byOwnersHouseRes', //分享房东房源信息
  GetShareHouseRes: NewApiRootUrl + 'house/houseResList', //单页面房源列表查询
  GetShareHouseResQr: NewApiRootUrl + 'house/shareHouseResQrCode', //单页面分享房源二维码
  
  GetCaptcha: NewApiRootUrl + 'auth/captcha.jpg', //获取验证码
  AuthLoginByWeixin: NewApiRootUrl + 'auth/login_by_weixin', //微信登录
  AuthLoginByAccount: NewApiRootUrl + 'auth/login', //账号登录

  GetArticles: NewApiRootUrl + 'article/queryList', //获取文章列表数据
  GetArticleCategory: NewApiRootUrl + 'article/categoryList', //获取文章分类数据
  GetArticleDetail: NewApiRootUrl + 'article/articleInfo', //获取文章详情数据
  GiveArticleRead: NewApiRootUrl + 'article/readLike', //文章阅读
  GiveArticleZan: NewApiRootUrl + 'article/readLike', //文章点赞
  GetArticleShare: NewApiRootUrl + 'article/shareArticle', //文章详情分享

  BrandList: NewApiRootUrl + 'brand/list',  //品牌列表
  BrandDetail: NewApiRootUrl + 'brand/detail',  //品牌详情

  OrderSubmit: NewApiRootUrl + 'order/submit', // 提交订单
  PayPrepayId: NewApiRootUrl + 'pay/prepay', //获取微信统一下单prepay_id

  SearchIndex: NewApiRootUrl + 'search/index',  //搜索页面数据
  SearchResult: NewApiRootUrl + 'search/result',  //搜索数据
  SearchHelper: NewApiRootUrl + 'search/helper',  //搜索帮助
  SearchClearHistory: NewApiRootUrl + 'search/clearhistory',  //搜索帮助

  RegionList: NewApiRootUrl + 'region/list',  //获取区域列表

  OrderList: NewApiRootUrl + 'order/list',  //订单列表
  OrderDetail: NewApiRootUrl + 'order/detail',  //订单详情
  OrderCancel: NewApiRootUrl + 'order/cancelOrder',  //取消订单
};